# Contribuitor: sick <sick@rape.lol>
# Maintainer: sick <sick@rape.lol>
pkgname=swarp
pkgver=0.1
pkgrel=0
pkgdesc="Simple pointer warping tool for X"
url="https://tools.suckless.org/x/swarp"
arch="all"
license="MIT"
depends="libx11"
makedepends="libx11-dev"
subpackages=""
source="https://dl.suckless.org/tools/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	make || return 1
}

package() {
	cd "$builddir"
	make PREFIX=/usr DESTDIR=$pkgdir \
	install || return 1
}

sha512sums="c44fee2e01cfdd8f02f29bfb917a82f05459c9d5db2a0eb18a9c75f60aa73547f7f6cd32557fd4cf94963e2e30a5f02806925e42a57d6eaaff41daf1866fd09d  swarp-0.1.tar.gz"
